Data Dashboards
2025-11-18
Key options:
theme: visual style (e.g., cosmo, minty)orientation: layout direction (rows or columns)sidebar: whether a sidebar appearspalmerpenguins: sample datasettidyverse: data manipulation + plottingplotly: interactive graphicsExample (in a dashboard block):
selectInput() (from shiny) or Quarto widgets to accept user choices.Reactives automatically update downstream outputs (plots, tables)
note filtered is a function
plot_reactive() is a function+------------------------------------------------------+
| Row 1 (Stats) |
+------------------------------------------------------+
| Row 2 (Plot Area) |
+------------------------------------------------------+
| Row 3 (Data Table) |
+------------------------------------------------------+
+---------------------+-------------------------------+
| Column 1 | Column 2 |
| (Filters/Sidebar) | (Plots / Tables) |
+---------------------+-------------------------------+
orientation: in YAML to switch between row‑based or column‑based layoutSidebars are a great place to group inputs for dashboards
To include a sidebar, add the .sidebar class to a level 2 heading